﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FriendLink.ascx.cs" Inherits="UserControls_FriendLink" %>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div style="height: 7px;">
</div>
<div>
    <table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
        <tr>
            <td bgcolor="#FFFFFF" style="width: 250px">
                <table width="498" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="106" height="28" background="images/title_bg_4.jpg" class="title14" align="left">
                            友情链接</td>
                        <td width="390" align="right" background="images/title_bg_hui2.jpg">
                            <a href="Default.aspx?PN=link_more">
                                <img src="images/more.jpg" width="50" height="18" border="0" /></a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor="#FFFFFF">
                <div style="height: 5px"></div>
                    <table>
                        <tr>
                            <td>
                                <asp:DataList ID="dlLink" runat="server" Width="70px" RepeatDirection="Horizontal"
                                    RepeatColumns="5" CssClass="black12">
                                   
                                    <HeaderStyle ForeColor="Red" />
                                    <ItemStyle HorizontalAlign="Left" />
                                    <ItemTemplate>
                                        <table border="0" cellpadding="0" cellspacing="0" >
                                            <tr>
                                                <td height="20" class="black12" align="left">
                                                    <a href='<%# Eval("LinkAddress") %>'>
                                                        <%# Eval("Title") %>|
                                                    </a>
                                                </td>
                                            </tr>
                                        </table>
                                        <div>
                                            &nbsp;</div>
                                    </ItemTemplate>
                                </asp:DataList>
                            </td>
                        </tr>
                        
                    </table>
                
            </td>
        </tr>
    </table>
</div>
<br />
&nbsp; 